package cc.rboot.inject.annotation;

import cc.rboot.inject.core.DefaultSetterInjector;
import cc.rboot.inject.core.ISetterInjector;

import java.lang.annotation.*;


@Target({ElementType.METHOD, ElementType.FIELD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Documented
public @interface InjectSetter {
    String value() default ""; // 放在Field上时有效
    Class<? extends ISetterInjector> injector() default DefaultSetterInjector.class; // 放在Type上时有效
}